<template>
    <div class="top">
      <div class="col-xl-6 col-lg-7 col-md-12">
        <!-- <h1 class="mt-4 press">燃烧化学数据库2.0</h1><br>
        <p class="press press2">Combustion Chemistry Data</p> -->
        <svg viewBoxs="0 0 200 50" id="svgBox-1" class="mt-4">
          <defs>
            <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="0" y1="10" x2="0" y2="50">
              <stop offset="0" style="stop-color:#fd8403" />
              <stop offset="0.5" style="stop-color:#CA6727" />
              <stop offset="1" style="stop-color:#823426" />
            </linearGradient>
          </defs>
          <text text-anchor="left" class="top-header" x="0" y="30%">CCData2.2</text>
          <text text-anchor="left" class="top-header-2" x="0" y="50%">燃烧化学数据库 (Combustion Chemistry Data)</text>
        </svg>
      </div>
      <div class="mt-auto">
        <img src="../assets/topbg.png" class="bg-blur" />
        <div class="logo" style="margin-right: 40px;text-align: right;">
          <p class="my-4">
          <div>
            <a href="http://ccg.scu.edu.cn" target="_blank">
              <svg viewBoxs="0 0 350 35" id="svgBox-2">
                <defs>
                  <linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="0" y2="30">
                    <stop offset="0.2" style="stop-color:#fd8403" />
                    <stop offset="0.5" style="stop-color:#CA6727" />
                    <stop offset="0.8" style="stop-color:#823426" />
                  </linearGradient>
                </defs>
                <text text-anchor="end" class="top-header-3" x="100%" y="30%"
                  style="dominant-baseline: central;letter-spacing: 2.4px;">四川大学燃烧动力学中心</text>
              </svg>
            </a>
          </div>
          <div>
            <a href="#" style="cursor: default;">
              <svg viewBoxs="0 0 350 35" id="svgBox-2">
                <defs>
                  <linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="0" y2="30">
                    <stop offset="0.2" style="stop-color:#fd8403" />
                    <stop offset="0.5" style="stop-color:#CA6727" />
                    <stop offset="0.8" style="stop-color:#823426" />
                  </linearGradient>
                </defs>
                <text text-anchor="end" class="top-header-3" x="100%" y="30%"
                  style="dominant-baseline: central;">四川空天动力科技有限公司</text>
              </svg>
            </a>
          </div>
          </p>
        </div>
      </div>
    </div>
  </template>
  
  <script>
  export default {
    name: "TopHeader",
    data() {
      return {};
    }
  };
  </script>
  
  <!-- Add "scoped" attribute to limit CSS to this component only -->
  <style>
  .press {
    color: rgb(210, 97, 35);
    /* background-image: -webkit-linear-gradient(to right,#823426,#0ceee3) !important;
    background-image: -moz-linear-gradient(to right,#823426,#0ceee3) !important;
    background-image: -o-linear-gradient(to right,#823426,#0ceee3) !important;
    background-image: -ms-linear-gradient(to right,#823426,#0ceee3) !important;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; */
    /* text-shadow: 5px -5px rgb(163, 163, 163) 4px -4px white; */
    margin-bottom: 0;
    display: inline-block;
    font-size: 3rem;
    font-family: SourceHanSansCN-Heavy;
  }
  
  .press2 {
    font-size: 1.2rem
  }
  
  .top {
    height: 116px;
    width: 1250px;
    margin: 0 auto;
    position: relative;
    background-color: white;
    /* background: url(../../assets/topbg.png) right bottom no-repeat; */
  }
  
  .top,
  .top * {
    z-index: 4;
  }
  
  @media screen and (max-width: 820px) {
    .logo {
      display: none;
    }
  }
  
  .bg-blur {
    position: absolute;
    z-index: -1;
    right: 0%;
    filter: alpha(opacity=2);
    opacity: 0.2;
  }
  
  .top .logo {
    position: absolute;
    z-index: 2;
    margin-left: 0px;
    padding-top: 25px;
    right: 0%;
    color: #823426
      /* float: right; */
  }
  
  #svgBox-1 {
    width: 100%;
  }
  
  #svgBox-2 {
    width: 350px;
    height: 35px;
  }
  
  .top-header {
    fill: url(#SVGID_1_);
    font-size: 3rem;
    font-family: SourceHanSansCN-Heavy;
  }
  
  .top-header-2 {
    fill: url(#SVGID_1_);
    font-size: 1.2rem;
    font-family: SourceHanSansCN-Heavy;
  }
  
  .top-header-3 {
    fill: url(#SVGID_2_);
    font-size: 1.5rem;
    font-family: SourceHanSansCN-Heavy;
  }
  
  a:hover {
    text-decoration: none;
  }
  </style>
  